import { Table } from "ant-design-vue";

export default (props, { slots }) => (
  <>
    <p>{slots.description()}</p>
    <Table
      pagination={false}
      row-key="0"
      size="small"
      scroll={{ y: 150 }}
      dataSource={props.dataSource}
      columns={[
        { title: '标签', dataIndex: 0 },
        { align: 'right', width: 50, title: '超出', dataIndex: 1 },
      ]}
    >
    </Table>
  </>
);
